﻿using ThumbExample.Views;
using Prism.Ioc;
using Prism.Modularity;
using System.Windows;
using WpfExamples.Views;
using ThumbExample;
using ViewBoxExample;
using GridSplitterExample;

namespace WpfExamples
{
    /// <summary>
    /// Interaction logic for App.xaml
    /// </summary>
    public partial class App
    {
        protected override Window CreateShell()
        {
            return Container.Resolve<MainWindow>();
        }

        protected override void RegisterTypes(IContainerRegistry containerRegistry)
        {
            containerRegistry.RegisterForNavigation<FirstPage>();
        }

        protected override void ConfigureModuleCatalog(IModuleCatalog moduleCatalog)
        {
            moduleCatalog.AddModule<Module_ThumbModule>();
            moduleCatalog.AddModule<ViewBoxExampleModule>();
            moduleCatalog.AddModule<GridSplitterExampleModule>();
            base.ConfigureModuleCatalog(moduleCatalog);

        }
    }
}
